package com.example.springboot.hl7;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/hl7/")
public class HL7eController {

    @Autowired
    private HL7ServiceInfo hl7ServiceInfo;

    @GetMapping("/open/api/getRunInfo")
    public Object getRunInfo(){
        return hl7ServiceInfo;
    }
}
